import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window {
    width: 300
    height: 320
    visible: true
    title: qsTr("Hello World")

    Pane {
        anchors.centerIn: parent
        ColumnLayout {
            anchors.fill: parent
            CheckBox { text: qsTr("E-mail") }
            CheckBox { text: qsTr("Calendar") }
            CheckBox { text: qsTr("Contacts") }
        }
    }

/*
Pane {
    width: parent.width
    height: parent.height
    background: Rectangle { color: "lightblue" }
    wheelEnabled: true

    ScrollView{
        anchors.fill: parent
        ColumnLayout {
            anchors.fill: parent
            anchors.margins: 10

            Repeater {
                model: 20
                delegate: Button {
                    text: "Button " + index
                    Layout.minimumWidth: 120
                }
            }
        }
    }
}
*/

}
